package com.heg.api.tool;

/**
 * 响应返回编码模型(Model)
 * @author 邓绪招
 * @time 2016-04-02
 * @version 1.1.0
 */
public class ResponseCode {
	
	/**
	 * 系统错误
	 */
	public final static int SYSTEM_ERROR = 9999;

	/**
	 * 参数错误
	 */
	public final static int REQUEST_PARAM_ERROR = 9900;

	/**
	 * 缺少指定参数
	 */
	public final static int REQUEST_PARAM_LOST = 9909;
	
	/**
	 * 参数格式不对
	 */
	public final static int REQUEST_PARAM_FORMAT_MISS = 9905;
	
	/**
	 * 参数秘钥不对
	 */
	public final static int REQUEST_SECERT_MISS = 9899;
	
	/**
	 * 分页——最后一页返回
	 */
	public final static int REQUEST_SECERT_PAGE = 2000;
	
	/**
	 * 请求处理成功
	 */
	public final static int REQUEST_SUCCESS = 1000;
	
	/**
	 * 请求处理失败
	 */
	public final static int REQUEST_FAILURE = 1001;
	
	/**
	 * 用户已经注册
	 */
	public final static int REQUEST_USER_REG_FAILURE = 1010;
	
	/**
	 * 用户名密码错误
	 */
	public final static int REQUEST_UNAME_PWORD_FAILURE = 1011;
	
	/**
	 * 获取验证码失败
	 */
	public final static int REQUEST_SMS_OBTAIN_FAILURE = 1012;
	
	/**
	 * 验证码不存在 
	 */
	public final static int REQUEST_SMS_EXIST_FAILURE = 1013;
	
	/**
	 * 验证码已过期 
	 */
	public final static int REQUEST_SMS_EXPIRED_FAILURE = 1014;

}